<!--{subtemplate jameson_read:gjj/read_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse" uk-grid>
	<div class="uk-width-medium">
		{if $adv[0]['adv']}
		<div class="cl uk-margin-top" style="width: auto;margin:auto;overflow: hidden;">
			{eval echo stripcslashes($adv[0]['adv']);}
		</div>
		{/if}
		<div class="border-cc">
			<div class="back-top">{lang jameson_read:yuedubang}</div>
			<ul class="uk-margin-remove pl10 pr10 uk-list-paihang">
				{loop $paihangbang['yuedu'] $k $book}
					{if $k < 12}
					<li class="uk-text-truncate">
						<span class="num num_{$k}">{eval echo $k+1;}</span>
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
					</li>
					{/if}
				{/loop}
			</ul>
		</div>
		{if $adv[1]['adv']}
		<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
			{eval echo stripcslashes($adv[1]['adv']);}
		</div>
		{/if}
		<div class="border-cc uk-margin-top">
			<div class="back-top">{lang jameson_read:shoucangbang}</div>
			<ul class="uk-margin-remove pl10 pr10 uk-list-paihang">
				{loop $paihangbang['shoucang'] $k $book}
					{if $k < 12}
					<li class="uk-text-truncate">
						<span class="num num_{$k}">{eval echo $k+1;}</span>
						<a href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
					</li>
					{/if}
				{/loop}
			</ul>
		</div>
		{if $adv[2]['adv']}
		<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
			{eval echo stripcslashes($adv[2]['adv']);}
		</div>
		{/if}
	</div>
	<div class="uk-width-expand">
		<div class="uk-margin-left border-cc">
			{if $_G['jameson_read']['allowpostbook'] || ($hasdata && ($hasdata['status']==1))}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:wuxuzaicishenqing}</div>
			{elseif $hasdata && !$hasdata['status']}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:shenhezhong}</div>
			{elseif !$_G['uid']}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:qingxiandenglu}</div>
			{else}
				<div class="back-top">{lang jameson_read:shenqingzuozhe}</div>
				<form class="uk-form-stacked uk-margin-top uk-padding-small" action="./plugin.php?id=jameson_read&contrl=index&act=shenqing" method="post">
					<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:zhenshixingming}</label>
				       <div class="uk-form-controls">
							<input type="text" required  class="uk-input"  name="xingming" id="xingming">
				       </div>
				   	</div>
				   	<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:lianxifangshi}</label>
				   		<div class="uk-form-controls">
							<input type="text" required class="uk-input" name="lianxi" id="lianxi">
				   		</div>
				   	</div>
				   	<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:fuyan}</label>
				   		<div class="uk-form-controls">
							<textarea id="fuyan"  name="fuyan" class="uk-textarea"></textarea>
				   		</div>
				   	</div>
					<input type="hidden" name="formhash" value="{FORMHASH}" />
					<div class="uk-margin">
						<button type="submit" class="uk-button uk-button-danger">{lang jameson_read:tijiao}</button>
					</div>
				</form>
			{/if}
		</div>
	</div>
</div>
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:gjj/read_footer}-->